<?php


//$app_HEADLINE = 'Početna stranica - Dobordošli';
//$sys_frm_version = '1.1';

class start extends bee\form
{
  protected static $__formID = "frm201109060124";

	public function createForm($evt)
	{ //echo "123";
	  //$this->__formID = "frm201109060124";
	  $this->__caption = "Homepage - Welcome!";
	  $this->__version = "1.0";
	}


	public function drawForm($evt)
	{ $this->__DSDoc->setVariable('last_login_date', bee\YMDdmy(isset($_SESSION['last_login_date'])?$_SESSION["last_login_date"]:""));
	  $this->__DSDoc->setVariable('korisnik', $this->__app->getUser()->login);
	  $this->__DSDoc->setVariable("isPublic", $this->__app->isPublicForm());
	  $this->__app->setDebug(" IZ PABLIK" . $this->__app->isPublicForm());
	}
}